package com.cennavi.buss.service.imp;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cennavi.buss.service.AuthService;

@FeignClient(value = "auth-service", fallback = AuthService.class)
public interface IAuthService {
	@RequestMapping("/authorization")
	public String authorization(@RequestParam("url") String url, @RequestParam("digest") String digest,
			@RequestParam("digestId") String digestId);
}
